package com.gpy.boot2020.service;

import com.gpy.boot2020.bean.User;
import com.gpy.boot2020.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserService {
    @Autowired
    UserMapper userMapper;

    public User getUserById(Integer id){

    return    userMapper.getUserById(id);
    }
}
